package Try;

/**
 * Created by dell on 2017/5/23.
 */
public class Book {
    String Name, Author, Press, PubDate;

    public String getName() {
        return Name;
    }

    public void setName(String Name) {
        this.Name = Name;
    }

    public String getAuthor() {
        return Author;
    }

    public void setAuthor(String Author) {
        this.Author = Author;
    }

    public String getPress() {
        return Press;
    }

    public void setPress(String Press) {
        this.Author = Author;
    }

    public String getPubDate() {
        return PubDate;
    }

    public void setPubDate(String PubDate) {
        this.PubDate = PubDate;
    }

    @Override
    public String toString() {
        return "Book{" +
                "Name='" + Name + '\'' +
                ", Author='" + Author + '\'' +
                ", Press='" + Press + '\'' +
                ", PubDate='" + PubDate + '\'' +
                '}';
    }
}


